<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>首页</title>
        <link rel="Stylesheet" type="text/css" href="./css/global.css">
        <link rel="Stylesheet" type="text/css" href="./css/master.css">
        <link rel="Stylesheet" type="text/css" href="./css/calendar.css">
    </head>
    <body>
        <div class=header>
            <div class="logo">
                <a href="master.jsp" target="" rel="nofollow">人力资源管理系统</a>
            </div>
            <div class="nav">
                <ul class="navul">
                    <li class="dropdown">
                        <a href="master.jsp" target="_self">首页</a>
                    </li>
                    <li class="dropdown">
                        <a href="" target="">个人中心</a>
                        <ul class="subnav">
                            <li>
                                <a href="#" target="">USERNAME</a>
                            </li>
                            <li>
                                <a href="#" target="">PASSWORD</a>
                            </li>
                        </ul>
                    </li>
                    <li class="dropdown">
                        <a href="" target="">系统管理</a>
                        <ul class="subnav">
                        	<li>
                                <a href="orgization.jsp" target="_self">机构设置</a>
                            </li>
                            <li>
                                <a href="position.jsp" target="_self">职位设置</a>
                            </li>
                        </ul>
                     </li>
                     <li class="dropdown">
                        <a href="" target="">档案管理</a>
                        <ul class="subnav">
                        	<li>
                                <a href="archives_register.jsp" target="_self">档案登记</a>
                            </li>
                            <li>
                                <a href="archives_query.jsp" target="">档案查询</a>
                            </li>
                            <li>
                                <form action="ArchiveReviewServlet" method="post">
                                	<input type="submit" value="档案复核">
                                </form>
                            </li>
                        </ul>                      
                    </li>
                    <li class="dropdown">
                        <a href="" target="">薪酬管理</a>
                        <ul class="subnav"></ul>
                    </li>
                </ul>
            </div>
        </div>
        <div class="container">
            <div class="leftbar">
                <div class="avatar">
                    <img src="./img/avatar.png">
                </div>
                <%
                	String username = (String)session.getAttribute("name");
                	if(username != null) { %>
                	<span><%=username%></span>
                	<%} %>>

                <div class="calendar" id="calendar"></div>
                <script type="text/javascript" src="./js/calendar.js"></script>
            </div>
            <div class="mainbody">
                <div class="messge">
                    <div class="tip">
                        <p>你好，<%=username %>！</p>
                    </div>
                    <div class="adv">
                        <p>系统公告统一在这里展示</p>
                        <span>x</span>
                    </div>
                </div>
                <div class="show">
                    <img src="./img/gdou.jpeg">
                </div>
            </div>
        </div>
    </body>
</html>